<?php

declare (strict_types=1);

namespace app\store\model\agent;

use app\common\model\agent\Channel as AgentChannel;
use think\Exception;
use app\store\model\User as UserModel;
use think\facade\Db;
use think\facade\Log;
use think\model\relation\HasOne;

/**
 * 代理渠道模型类
 * Class User
 * @package app\common\model
 */
class Channel extends AgentChannel
{

    public function user():HasOne
    {
        return $this->hasOne(UserModel::class,'user_id','user_id');
    }


}
